#!/bin/bash
if [ -d "${LSYNCD_PATH}" ]; then 
    /bin/ps -ef|grep 'lsyncd -log Exec'|grep -v 'grep' |grep -c lsyncd
fi
